package com.situ.ssm.singleton;

public class SingletonTest {
	//懒汉单例模式
	public static void main(String[] args) {
		Singleton singleton = Singleton.getInstance();
		Singleton singleton2 = Singleton.getInstance();
		System.out.println(singleton == singleton2);
	}
	
}	
